package View.UserFilterDialog;

import Model.LinearFilter;

/**
 * Created by IntelliJ IDEA.
 * User: Andrew
 * Date: 10.03.12
 * Time: 2:51
 * To change this template use File | Settings | File Templates.
 */
public class UserFilterDialogEvent {
    private LinearFilter filter;
    private String code;

    public static final String USE_FILTER = "use_filter";
    public static final String SAVE_FILTER = "save_filter";
    //public static final String IMAGE_CHANGED = "img_change";

    public LinearFilter getFilter() {
        return filter;
    }

    public String getCode() {
        return code;
    }

    public UserFilterDialogEvent(LinearFilter filter, String code) {
        this.filter = filter;
        this.code = code;
    }
}
